package com.ruoyi.quartz.task;

import com.ruoyi.common.annotation.TaskClass;
import com.ruoyi.common.annotation.TaskMethod;
import org.springframework.stereotype.Component;

@Component
@TaskClass
public class MyTask {
    @TaskMethod
    public void testMyTask01(){
        System.out.println("==============测试我的方法============");
    }

    public void testMyTask02(){
        System.out.println("=============测试我的方法02===========");
    }
}
